# -*- coding: UTF-8 -*-
<%inherit file="../MasterPage.mako"/>
<script type="text/javascript">
	$(document).ready(function(){
		$("#btnAjax").click(function(){
			$.get("/User/Test", function(data){
				$("#div_Info").text(data);
				});
		})
	})
</script>
<form method="post" action="/User/Login">
	<div>
		<div>
		用户名:
		<input type="text" name="UserName" />
		</div>
		<div>
		密码:
		<input type="text" name="Password" />
		</div>
		<div>
		<input type="submit" id="btnSubmit" value="登录" />
		</div>
		<div>
		<a href="/User/Register">注册</a>
		</div>
		<div>
		<input type="button" id="btnAjax" value="test ajax"/>
		</div>
		<div id="div_Info" style="color:red;">
		${ c.Info }
		</div>
	</div>
</form>